home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 44
/
Aminet 44 (2001)(GTI - Schatztruhe)[!][Aug 2001].iso
/
Aminet
/
dev
/
gui
/
gtlayout.lha
/
Source
/
LTP_DrawPalette.c
< prev
next >
Wrap
C/C++ Source or Header
|
1999-01-02
|
560b
|
26 lines
/*
** GadTools layout toolkit
**
** Copyright © 1993-1999 by Olaf `Olsen' Barthel
** Freely distributable.
**
** :ts=4
*/
#ifndef _GTLAYOUT_GLOBAL_H
#include "gtlayout_global.h"
#endif
#include "Assert.h"
VOID
LTP_DrawPalette(struct LayoutHandle *Handle,struct ObjectNode *Node)
{
struct RastPort *rp = &Handle->RPort;
LTP_SetAPen(rp,Node->Current);
LTP_FillBox(rp,Node->Left + 3,Node->Top + 2,Node->Special.Palette.IndicatorWidth - 6,Node->Height - 4);
LTP_DrawBevel(Handle,Node->Left,Node->Top,Node->Special.Palette.IndicatorWidth,Node->Height);
}